package com.ssyan.decorator;

/**
 * @author ssyan
 * @Description TODO
 * @create 2021/8/29 1:24
 * @Version 1.0
 */
//具体的Decorator，这里就是调味品
public class Soy extends Decorator{

    public Soy(Drink obj) {
        super(obj);
        setDesc("豆浆");
        setPrice(1.5f);//调味品价格
    }
}
